package com.emm.yixun.report.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.emm.yixun.report.mapper.ExpectedEarlyWarningMapper;
import com.emm.yixun.report.domain.ExpectedEarlyWarning;
import com.emm.yixun.report.domain.dto.ExpectedEarlyWarningDtoRes;
import com.emm.yixun.report.service.IExpectedEarlyWarningService;
import com.baomidou.framework.service.impl.SuperServiceImpl;

/**
 *
 * ExpectedEarlyWarning 表数据服务层接口实现类
 *
 */
@Service
public class ExpectedEarlyWarningServiceImpl extends SuperServiceImpl<ExpectedEarlyWarningMapper, ExpectedEarlyWarning> implements IExpectedEarlyWarningService {
	@Autowired
	private ExpectedEarlyWarningMapper expectedEarlyWarningMapper;
	
	/**
	 * 未付款预警 
	 * @param merchantId
	 * @return
	 */
	@Override
	public List<ExpectedEarlyWarningDtoRes> selectNoPaymentEarlyWarning(long merchantId) {
		return expectedEarlyWarningMapper.selectNoPaymentEarlyWarning(merchantId);
	}

}